function [ other_vert ] = get_other_vert_from_tr( tr, v )
num_vert = size(v, 2);
for i = 1 : 3
    other = 1;
    for j = 1 : num_vert
        if ( tr(i) == v(j) )
            other = 0;
            break
        end % IF
    end % FOR
    if (other)
        other_vert = tr(i);
        return;
    end % IF
end % FOR
end % FUNCTION get_other_vert_from_tr

